package com.zyw.teacher.login.mapper;

import com.zyw.teacher.login.entity.Role;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Description:
 * @Author: zyw
 * @Date: 2018/12/14
 */
@Component
public interface RoleMapper extends Mapper<Role> {

    List<Role> getAllRole();

    List<Role> queryByUrl(String url);
}
